package com.distribute.core.constants;

import com.distribute.core.annotation.DLCCell;
import com.distribute.core.init.AbstractNotifyComponent;

import java.util.HashMap;
import java.util.Map;

/**
 * 常量
 *
 * @author chennengcheng
 * @date 2021-09-22 16:55
 * @remark
 */
public class CacheConstants {

    /**
     * 使用的缓存组件名称 - 对于 spring bean name
     */
    public static Class<? extends AbstractNotifyComponent> notifyOfComponent;

    /**
     * 缓存 cell
     */
    public static final Map<String, DLCCell> CELLS_MAP = new HashMap<>();


    public static final String SPRING_APPLICATION_CLASS = "org.springframework.boot.autoconfigure.SpringBootApplication";

    /**
     * 通知组件名
     */
    public static final String REDIS_NOTIFY_COMPONENT_NAME = "notifyCacheUpdateImpl";


}
